全部文档

4.2边缘节点部署管理

4.2.1部署边缘节点配置

功能描述:将边缘节点配置(关联设备、边缘节点通道等)下发至边缘节点。

POST  /api/v1/command/gateway/deploy/{id}

Path:

Name Description Required Type
id 边缘节点 ID Yes int

cURL example:

curl --location --request POST '{URI-scheme}://{Endpoint}{path-prefix}/api/v1/command/gateway/deploy/10000807?accessKeyId={accessKeyId}&signatureNonce=495&signature={signature}' \
--header 'platform: 3' \
--header 'projectId: {projectId}'

Response example:

{
    "success": true,
    "code": 0,
    "msg": "",
    "data": null
}

4.2.2部署边缘节点检查

功能描述:将边缘节点配置(关联设备、网关通道等)下发至边缘节点的检查。

GET  /api/v1/command/gateway/deploy/check/id/{id}

Path:

Name Description Required Type
id 边缘节点 ID Yes int

cURL example:

curl --location --request GET '{URI-scheme}://{Endpoint}{path-prefix}/api/v1/command/gateway/deploy/check/id/10000801?accessKeyId={accessKeyId}&signatureNonce=166&signature={signature}' \
--header 'platform: 3' \
--header 'projectId: {projectId}'

Response data:

Name Type Description
data boolean 网关部署校验

Response example:

{
    "success": true,
    "code": 0,
    "msg": "",
    "data": true
}

results matching ""

    No results matching ""